const express = require('express');

const app = express();

app.use(express.static('www'));
app.use(express.urlencoded({extended: false}));

// app.get("/login", (req, res, next)=>{

// });

app.post("/register", (req, res, next)=>{
    // req.body

    // 封装数据库操作，成自定义模块
    
});

app.listen(3000, ()=>{
    console.log("服务器开启成功,地址为: http://localhost:3000")
})
